<!doctype html>
<html class="x-admin-sm">
    <head>
        <meta charset="UTF-8">
        <title>统一身份认证管理平台</title>
        <meta name="renderer" content="webkit|ie-comp|ie-stand">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta http-equiv="Cache-Control" content="no-siteapp" />
        <link rel="stylesheet" href="/oauthplatform/static/css/x-admin/font.css">
        <link rel="stylesheet" href="/oauthplatform/static/css/x-admin/xadmin.css">
        <script src="/oauthplatform/static/lib/layui/layui.js" charset="utf-8"></script>
        <script type="text/javascript" src="/oauthplatform/static/lib/x-admin/xadmin.js"></script>
        <script src="/oauthplatform/static/lib/other/html5.min.js"></script>
        <script src="/oauthplatform/static/lib/other/respond.min.js"></script>
        <script>
            // 是否开启刷新记忆tab功能
            // var is_remember = false;
        </script>
    </head>
    <body class="index">
        <#-- 顶部开始 -->
        <div class="container">
            <div class="logo">
                <a href="">
                    <img src="/oauthplatform/static/img/x-admin/logo2-1.png">
                </a>
            </div>
<#--            <div class="left_open">-->
<#--                <a><i title="展开左侧栏" class="iconfont">&#xe699;</i></a>-->
<#--            </div>-->

            <#if appList?? && (appList?size gt 0)>
                <ul class="layui-nav left fast-add" lay-filter="">
                    <li class="layui-nav-item">
                        <a href="javascript:;">快速入口</a>
                        <dl class="layui-nav-child">
                            <!-- 二级菜单 -->
                            <#list appList as al>
                                <dd>
                                    <#if al.url?contains("zhongzhi.haedu.gov.cn")>
                                            <a href="http://zhongzhi.haedu.gov.cn/HomeSSO.action?userName=${USER_NAME}&password=${userInfo.password}&autoLoginFlag=0" target="_blank">
                                                <i class="iconfont">&#xe715;</i>${al.name}
                                            </a>
                                        <#else >
                                            <a href="${al.url}" target="_blank">
                                                <i class="iconfont">&#xe715;</i>${al.name}
                                            </a>
                                    </#if>
                                </dd>
                            </#list>
                        </dl>
                    </li>
                </ul>
            </#if>




            <ul class="layui-nav right" lay-filter="">
                <li class="layui-nav-item">
                    <a href="javascript:;">${userInfo.nickName}</a>
                    <dl class="layui-nav-child">
                        <#-- 二级菜单 -->
                        <dd>
                            <a onclick="xadmin.open('个人信息','/oauthplatform/center/index')">个人信息</a></dd>
                        <dd>
                            <a href="/oauthplatform/logout" id="logoutTag">退出</a>
                        </dd>
                    </dl>
                </li>
            </ul>
        </div>
        <#-- 顶部结束 -->
        <#-- 中部开始 -->
        <#-- 左侧菜单开始 -->
        <div class="left-nav">
            <div id="side-nav">
                <ul id="nav">
                    <#list menuList as menu>
                        <#if !(menu.parentId??)>
                            <li>
                                <a onclick="xadmin.add_tab('${menu.name}','${menu.url!''}')" style="color: #fff">
                                    <i class="iconfont left-nav-li" lay-tips="${menu.name}">&#xe723;</i>
                                    <cite>${menu.name}</cite>
                                    <i class="iconfont nav_right">&#xe697;</i>
                                </a>
                                <ul class="sub-menu">
                                    <#list menuList as childMenu>
                                        <#if childMenu.parentId ?? && childMenu.parentId == menu.id>
                                            <li>
                                                <a onclick="xadmin.add_tab('${childMenu.name}','${childMenu.url}')" style="color: #fff">
                                                    <i class="iconfont">&#xe6a7;</i>
                                                    <cite>${childMenu.name}</cite>
                                                </a>
                                            </li>
                                        </#if>
                                    </#list>
                                </ul>
                            </li>
                        </#if>
                    </#list>
                </ul>
            </div>
        </div>
        <#-- 左侧菜单结束 -->
        <#-- 右侧主体开始 -->
        <div class="page-content">
            <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
                <ul class="layui-tab-title">
                    <li class="home">
                        <i class="layui-icon">&#xe68e;</i>我的桌面</li></ul>
                <div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
                    <dl>
                        <dd data-type="this">关闭当前</dd>
                        <dd data-type="other">关闭其它</dd>
                        <dd data-type="all">关闭全部</dd>
                    </dl>
                </div>
                <div class="layui-tab-content">
                    <div class="layui-tab-item layui-show">
                        <iframe src='/oauthplatform/home/welcome' frameborder="0" scrolling="yes" class="x-iframe"></iframe>
                    </div>
                </div>
                <div id="tab_show"></div>
            </div>
        </div>
        <div class="page-content-bg"></div>
        <style id="theme_style"></style>
        <#-- 右侧主体结束 -->
        <#-- 中部结束 -->
    </body>

</html>